package com.example.jsfspringboot.mapper;

import com.example.jsfspringboot.dao.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuMapper {
    @Select("select * from menu where type=#{type}")
    List<Menu> selectmenu(String type);
}
